seajs.config({
    alias: {
        'jquery': 'jquery/jquery/1.10.1/jquery',
        '$': 'jquery/jquery/1.10.1/jquery',
        'jquery.min': 'jquery/jquery-1.11.3',
        '$-debug': 'jquery/jquery/1.10.1/jquery-debug',
        "jquery.form": "jquery-plugin/form/3.44.0/form",
        "jquery.sortable": "jquery-plugin/sortable/0.9.10/sortable.js",
        "jquery.raty": "jquery-plugin/raty/2.5.2/raty",
        "jquery.cycle2": "jquery-plugin/cycle2/2013.08.01/cycle2",
        "jquery.perfect-scrollbar": "jquery-plugin/perfect-scrollbar/0.4.5/perfect-scrollbar",
        "jquery.select2": "jquery-plugin/select2/3.4.1/select2",
        "jquery.select2-css": "jquery-plugin/select2/3.4.1/select2.css",
        "jquery.jcrop": "jquery-plugin/jcrop/0.9.12/jcrop",
        "jquery.jcrop-css": "jquery-plugin/jcrop/0.9.12/jcrop.css",
        'jquery.bootstrap-datetimepicker': "jquery-plugin/bootstrap-datetimepicker/1.0.0/datetimepicker",
        "plupload": "jquery-plugin/plupload-queue/2.0.0/plupload",
        "jquery.plupload-queue-css": "jquery-plugin/plupload-queue/2.0.0/css/queue.css",
        "jquery.plupload-queue": "jquery-plugin/plupload-queue/2.0.0/queue",
        "jquery.plupload-queue-zh-cn": "jquery-plugin/plupload-queue/2.0.0/i18n/zh-cn",
        "mediaelementplayer": "jquery-plugin/mediaelement/2.13.1/mediaelement-and-player",
        'bootstrap': 'gallery2/bootstrap/3.0.1/bootstrap',
        'kindeditor': 'gallery2/kindeditor/4.1.7/kindeditor',
        'autocomplete': 'arale/autocomplete/1.2.2/autocomplete',
        'upload': 'arale/upload/1.0.1/upload',
        'bootstrap.validator': 'common/validator',
        'bootstrapValidator.min': 'common/bootstrapValidator.min',
        'class': 'arale/class/1.1.0/class',
        'base': 'arale/base/1.1.1/base',
        'widget': 'arale/widget/1.1.1/widget',
        'sticky': 'arale/sticky/1.2.1/sticky',
        "templatable": "arale/templatable/0.9.1/templatable",
        'placeholder': 'arale/placeholder/1.1.0/placeholder',
        'json': 'gallery/json/1.0.2/json',
        "handlebars": "gallery/handlebars/1.0.2/handlebars",
        "backbone": "gallery/backbone/1.0.0/backbone",
        "swfobject": "gallery/swfobject/2.2.0/swfobject.js",
        'video-js': 'gallery2/video-js/4.2.1/video-js',
        'swfupload': 'gallery2/swfupload/2.2.0/swfupload',
        'jquery.form.min': 'common/jquery.form.min.js',
        'uploadify': '/resources/uploadify/jquery.uploadify.min.js',
        'kindeditor': '/resources/kindeditor-4.1.7/kindeditor-min.js',
        'bootstrap-datetimepicker': '/resources/datetimepicker/js/bootstrap-datetimepicker.min.js',
        /*新增*/
        'bootstrap-datetimepicker-css': '/resources/datetimepicker/css/bootstrap-datetimepicker.min.css',
        'echarts-plain': 'echarts-2.0.3/build/echarts-plain.js',
        'echarts/chart/bar':'echarts-2.0.3/build/echarts-plain.js'
    },

    // 预加载项
    preload: [
    this.JSON ? '' : 'json'],

    // 路径配置
    paths: {
        'common': 'common/'
    },

    // 变量配置
    vars: {
        'locale': 'zh-cn'
    },

    charset: 'utf-8',

    debug: app.debug
})